<template>
  <div :class="['ebdmn-label-layout', size]">
    <slot />
  </div>
</template>

<script>
export default {
  props: {
    size: String
  }
}
</script>

<style lang="less" scoped>
.ebdmn-label-layout {
  height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 0 8px;
  border: 1px solid #e4e7ed;
  border-radius: 4px;

  &.medium {
    height: 36px;
  }

  &.small {
    height: 32px;
  }

  &.mini {
    height: 28px;
  }
}
</style>
